package com.dongdong.service;

import com.dongdong.data.Page;
import com.dongdong.pojo.TbContent;

import java.util.List;

public interface ContentService {
    Page<TbContent> selectInfo(Integer pageNum, Integer pageSize);

    int deleteBatch(Long[] ids);

    TbContent selectById(Long id);

    int insert(TbContent tbContent);

    int updateInfo(TbContent tbContent);
   //轮播图
    List<TbContent> selectByCategoryId();

    List<TbContent> selectyourLike();

    List<TbContent> selectRecommed();
}
